<!DOCTYPE html>
<html>
    <head>
        <title>Issue 3980: Clicking Clear in Console should stop profiling</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <link href="../../_common/testcase.css" type="text/css" rel="stylesheet"/>
    </head>
    <body>
        <header>
            <h1><a href="http://code.google.com/p/fbug/issues/detail?id=3980">Issue 3980</a>: Clicking Clear in Console should stop profiling</h1>
        </header>
        <div>
            <section id="description">
                <h2>CPU profiling: Clicking the <em>Clear</em> button</h2>
                <h3>Steps to reproduce</h3>
                <ol>
                    <li>Open Firebug</li>
                    <li>Enable the <em>Console</em> and <em>Script</em> panels and switch to the <em>Console</em> panel</li>
                    <li>Click the <em>Profile</em> button inside the panel toolbar</li>
                    <li>Click the <em>Clear</em> button inside the panel toolbar</li>
                </ol>
                <h3>Expected result</h3>
                <ul>
                    <li>The console should be cleared</li>
                    <li>The <em>Profile</em> button should not be pressed anymore</li>
                </ul>
                <h2>CPU profiling: Executing <code>console.clear()</code></h2>
                <h3>Steps to reproduce</h3>
                <ol>
                    <li>Open Firebug</li>
                    <li>Enable and switch to the <em>Console</em> panel</li>
                    <li>Click the <em>Profile</em> button inside the panel toolbar</li>
                    <li>Type <code>console.clear()</code> into the Command Line and hit <code class="key">Enter</code></li>
                </ol>
                <h3>Expected result</h3>
                <ul>
                    <li>The console should be cleared</li>
                    <li>The <em>Profile</em> button should not be pressed anymore</li>
                </ul>
                <!-- <h2>Memory profiling: Clicking the <em>Clear</em> button</h2>
                <h3>Steps to reproduce</h3>
                <ol>
                    <li>Open Firebug</li>
                    <li>Enable <code>extensions.firebug.memoryProfilerEnable</code></li>
                    <li>Restart the browser</li>
                    <li>Enable and switch to the <em>Console</em> panel</li>
                    <li>Click the <em>Memory Profile</em> button inside the panel toolbar</li>
                    <li>Click the <em>Clear</em> button inside the panel toolbar</li>
                </ol>
                <h3>Expected result</h3>
                <ul>
                    <li>The console should be cleared</li>
                    <li>The <em>Memory Profile</em> button should not be pressed anymore</li>
                </ul>
                <h2>Memory profiling: Executing <code>console.clear()</code></h2>
                <h3>Steps to reproduce</h3>
                <ol>
                    <li>Open Firebug</li>
                    <li>Enable <code>extensions.firebug.memoryProfilerEnable</code></li>
                    <li>Restart the browser</li>
                    <li>Enable and switch to the <em>Console</em> panel</li>
                    <li>Click the <em>Memory Profile</em> button inside the panel toolbar</li>
                    <li>Type <code>console.clear()</code> into the Command Line and hit <code class="key">Enter</code></li>
                </ol>
                <h3>Expected result</h3>
                <ul>
                    <li>The console should be cleared</li>
                    <li>The <em>Memory Profile</em> button should not be pressed anymore</li>
                </ul>-->
            </section>
            <footer>Sebastian Zartner, sebastianzartner@gmail.com</footer>
        </div>
    </body>
</html>
